﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using QualityRpt.Dao;

namespace QualityRPT
{
    public partial class index : System.Web.UI.Page
    {
        public string msg = string.Empty;
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!this.IsPostBack)
            {
                string strRefresh = Request.Params["refresh"];
                if (strRefresh != null && strRefresh == "1")
                {
                    CacheManager.RemoveAll();
                    msg = "已刷新";
                }
                if (Session["id"] == null)
                {
                    Response.Redirect("Login.aspx");
                }
            }
        }
    }
}